package com.yunxi.freeze.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.freeze.pojo.PartnerAmountFreezeFlowVO;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 渠道商冻结资金账户流水表 服务类
 * </p>
 *
 * @author chenmeng
 * @since 2019-07-23
 */
public interface PartnerAmountFreezeFlowDubboService {

    PartnerAmountFreezeFlowVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(PartnerAmountFreezeFlowVO partnerAmountFreezeFlowVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<PartnerAmountFreezeFlowVO> findPageByVO(PartnerAmountFreezeFlowVO partnerAmountFreezeFlowVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    void removeByListVo(List<PartnerAmountFreezeFlowVO> partnerAmountFreezeFlowVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(PartnerAmountFreezeFlowVO partnerAmountFreezeFlowVO);

    boolean unfreezeAmount(String vin);

    boolean unfreezeAmountByOrderCarId(String orderCarId);
}
